# --coding:utf-8--
# MakeBy: LiuBoyuan
from FileHandlers.TextFile import ReadConfig
from effect.Form.FormClass import FormClass
from effect.Form.Forms import *


class NewSaveConfig(FormClass):
    def __init__(self):
        super().__init__()
        player = ReadConfig("player-job")

        self.playertype =  SelectForm(
            title="选择【玩家】的初始角色",
            options=["贫困潦倒的旧贵族", "游手好闲的街溜子", "雪神宫的仆人","世界至高王","百米巨大娘秋丽艾尔"],
            tips=player.split("$SEQ$")
        )
        self.playername = InputForm(
            title="玩家的名称是:",
            cls_flag=True
        )
        self.default_slave = InputForm(
            title="假设给你一个初始的奴隶你希望她的名字是:",
            cls_flag=True
        )
        self.saveName = InputForm(
            title="输入你的存档名称 [不输入]表示默认是当前时间"
        )
